home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 5 #8 / IMG 51 Vol 5-8.iso / Goodies / More For Your Games / Civ II / Utilities / PC Mod Files & Mac Civ II V1.0
Text File  |  1997-10-22  |  15KB  |  209 lines

  1. Converting Civilization II Modification Files for Windows to the MacOS 
  2. Document Version 1.0 • 08/15/97
  3.  
  4. Amandeep Jawa • Worker Bee Software • mookie@best.com
  5.  
  6. This document requires the "Geneva" & "Courier" fonts.
  7. This document may be distributed freely, provided that it is not modified or charged for.
  8.  
  9. INTRODUCTION:
  10.  
  11.     Due to the popularity & extendibility  of Civilization II for Windows, there have been many third party modification (or "mod" ) sets created for use with the Windows version of the game.  These mod sets usually contain some combination of new graphics, rules, and scenario files for the game.  With a few slight alterations, these mod sets can be made to work on the MacOS version of Civilization II.  This document will describe what alterations are needed to perform this conversion.  I recommend reading this entire document before attempting to convert a mod set.  Please note that though this document may appear long, the changes described are actually fairly straightforward and easy to accomplish with the right tools.
  12.  
  13. DISCLAIMER:
  14.  
  15.     Modification sets may cause the game to perform improperly or even crash, so use them at your own risk.  Using this document in no way guarantees the modification sets will work or that they will play properly, so use this document at your own risk.  This document should not be construed as an official document from any of the software companies involved with Civilization II.  It is simply provided for the good of MacOS Civilization fans, so please use it in that spirit.
  16.  
  17. INSTRUCTIONS:
  18.  
  19.     Modification sets can alter many different parts of the Civilization II game.  Some modification sets modify the art only, some the sounds, some the interface, some the Civilopedia, or any combination of these types.  Some of these alterations can be used as is.  However, if the modifications involve new art files, new sound files, or changes to some of the .TXT files in the Support folder, SOME of the following conversions will be necessary.
  20.  
  21.     Before using any mod set, I STRONGLY recommend making a backup of the files modified or replaced by the mod set you are using.
  22.  
  23.  
  24. SUPPORT FILE CHANGES
  25.  
  26.     Much of the user interface and game play of Civilization II is controlled through text files located in the "Civilization II Files:Support" folder.  Most of these files are identical to or at least very similar to the ones found in the Windows version of Civilization II.  Many modification sets customize the user interface & game play in Civilization II by including replacement support files. These modified Windows support files must be converted before they are used for the MacOS version of Civilization II.
  27.  
  28.     If your modification set does NOT change or replace any of the following files you can skip this section, and go to the section on Art: GAME.TXT, LABELS.TXT, COUNCIL0.TXT, MENU.TXT, TUTORIAL.TXT, or MAPMENU.TXT.  If your modification set DOES change any of the above files, find the section below which corresponds to that file & make the changes that are described.
  29.  
  30. GAME.TXT
  31.  
  32.     The GAME.TXT file contains the descriptions of many of the dialogs that occur in the game.  If your modification set replaces GAME.TXT, it is important that you alter the new modified version of GAME.TXT to contain the following changes, so that these dialogs appear correctly.  To make the changes described below, simply open the new GAME.TXT file in any text editor (such as SimpleText), find each described dialog, and make the change suggested.
  33.     In the rare event that the text of the new GAME.TXT does not match the text this document instructs you to replace, the modification set you are using has changed the dialog in question.  In that case, I recommend changing the dialog as per this document, and then figuring out what the modification author intended and trying to replicate that behavior by slightly altering the replacement text described in this document.
  34.     Note that some of the following alterations are optional & are strongly recommended but not critical to game function:
  35.  
  36. 1) @REPORTFOREIGN
  37. Replace the lines:
  38. @button=Check Intelligence
  39. @button=Send Emissary
  40. with the lines:
  41. @button=Send Emissary
  42. @button=Check Intelligence
  43. @button=Cancel
  44.  
  45. 2) @UNSAVED
  46. Replace the lines:
  47. %STRING0 has unsaved changes!
  48.  
  49. Cancel action.
  50. Continue anyway (lose changes).
  51. with
  52. "%STRING0" has unsaved changes!
  53. Continue anyway (lose changes)?
  54.  
  55. 3) @REALLYRETIRE
  56. Remove the lines:
  57.  
  58. No
  59. Yes
  60.  
  61. 4) @REALLYQUIT
  62. Replace the lines:
  63. @width=320
  64. @title=Confirmation
  65. Do you really want to quit?
  66.  
  67. No
  68. Yes
  69.  
  70. with
  71. @width=280
  72. @title=Confirmation
  73. @button=Quit
  74. @button=Cancel
  75. @button=Save Game
  76. Do you really want to quit?
  77.  
  78. 5) @CDROMNOTFOUND
  79. Replace the lines:
  80. @title=Please Note
  81. @button=Repeat Search
  82. We were unable to find the Civilization II CD-ROM.  If desired, you may play this
  83. session of Civilization II without the additional multimedia, music, and art
  84. supplied by the CD.  You may also check that the Civilization II CD is in a valid
  85. CD-ROM drive and then repeat the search by selecting "Repeat Search" below.
  86. with:
  87. @title=Please Note
  88. We were unable to find the Civilization II CD-ROM.  If desired, you may play this
  89. session of Civilization II without the additional multimedia, music, and art
  90. supplied by the CD.
  91.  
  92. 6) Additional dialogs
  93. Add the following text before the last line in the GAME.TXT file (BEFORE the line that reads "@;this line must remain at end of file"):
  94.  
  95. @HC_MISSING
  96. @title=High Council
  97. The High Council Window could not be displayed because the 
  98. required movie files could not be found.
  99. To view the High Council Window you must insert the
  100. Civilization II CD or install the movie files onto
  101. your hard drive.
  102.  
  103. @CANTOPENSCENARIO
  104. @title=Cannot Load File
  105. To load a Scenario file or Map file you must quit the current game and
  106. restart Civilization II.
  107.  
  108. OPTIONAL CHANGES to GAME.TXT
  109.  
  110. 1) The widths (@width) of the following dialogs were changed to look better due to differences in the MacOS fonts. We recommend that you change the widths as follows:
  111. @DIFFICULTY (200), @ENEMIES (250) , @BARBARITY (270), @RULES (200), @GENDER (200), @TRIBE (500), @NAME (300), @CUSTOMCITY (200), @FOUNDED (250), @REALLYRETIRE (280), @REALLYQUIT (280) - you should have changed this already in step 4 above.
  112.  
  113. 2) The following dialogs are never used in the MacOS game & can be removed from GAME.TXT to provide a slight performance boost.  To remove a dialog, remove the title (including the "@") and all text before the next "@" character.  The removable dialogs are as follows: @MOVEPENDING, @LOCKFAILED, @LOCKFAILEDGLOBAL, @MULTIFEATURE, @WAITPICKTECH, @WAITING0, @WAITING1, @WAITING2, @HANGUP, @WAITLOCK, @WAITGLOBAL, @WAITACTION, @WAITPLUNDER, @MULTIDONE, @NETWAITING, @LOSTSERVER, @LOSTIT, @RECONNECTING, @SECONDMESSAGE, @SECONDFAILED, @CODECNOTFOUND, @VFWNOTREGISTERED, @HERALDWARNING.
  114.  
  115. 3) You may also remove @@PRODCHANGE - but note that you SHOULD NOT remove @PRODCHANGE but rather the unused @@PRODCHANGE.
  116.  
  117. 4)  In the @GAMEOPTIONS dialog, all the periods after "@options" should be removed; the line "Move units w/ mouse (cursor arrows)." should be replaced with "Move units with mouse (cursor arrows)"; and the "ENTER" in the last line should be changed to "RETURN".
  118.  
  119. 5) In the @GRAPHICOPTIONS dialog, the line "Animated Heralds (Requires 16 megabytes RAM)" should be changed to simply "Animated Heralds".
  120.  
  121. 6)  In the @MESSAGEOPTIONS dialog, all the periods after "@options" should be removed.
  122.  
  123. 7)  In the @NOTONMAP dialog, the word "mapboard" should be replaced with "map".
  124.  
  125. 8) In the  @BUILT dialog, the line "@width=270" should be added after the "title=Domestic Advisor" line.
  126.  
  127. 9)  In the following dialogs, the occurrences of "_._._." should be replaced with "...": GREETINGS00, GREETINGS01, GREETINGS02, GREETINGS03, GREETINGS10, GREETINGS11, GREETINGS12, GREETINGS13.
  128.  
  129. 10)  In the @EXCHANGEGIFT dialog, add an ending quote at the end of the last line.
  130.  
  131. 11)  In the @TAKECIV9 dialog, the word "exchance" should be "exchange".
  132.  
  133. 12)  In the @NOTORIOUSSMALL dialog, the word "preceeded" should be "preceded".
  134.  
  135. 13)  In the @PATIENCEALLY dialog, the word "tete-a-tete" should be "têtê-à-têtê".
  136.  
  137. 14)  In the @NEWXFORM dialog, the word "roadbuilding" should be "road building".
  138.  
  139. 15)  In the @PLANRETIRE dialog, the word "Millenial" should be "Millennial".
  140.  
  141. 16)  In the @CITYEDIT dialog, remove the extra "&" from "Clear Disorder && We Love King".
  142.  
  143. 17)  In the @SCENARIOEND dialog, the last two lines should read as follows:
  144. Ce jeu est maintenant complété.
  145. Diese Spiel ist nun vollständig.
  146.  
  147. LABELS.TXT
  148.  
  149.     The LABELS.TXT file contains various terms that occur throughout the game.  If your modification set replaces LABELS.TXT, it is important that you alter the new modified version of GAME.TXT to contain the following changes, so that these terms appear correctly.  To make the changes described below, simply open the new LABELS.TXT file in any text editor (such as SimpleText), find each described line, and make the change suggested.
  150.  
  151. 1) In line 16, "458" should be changed to "459".
  152.  
  153. 2) In line 45, "Press ENTER" should be changed to "Press RETURN".
  154.  
  155. 3) In line 54, "Exit" should be changed to "Done".
  156.  
  157. 4) In line 256, "Select File Name For Saved Game" should be changed to "Save Game As".
  158.  
  159. 5) In line 278, "Select File Name For Saved Map" should be changed to "Save Map As".
  160.  
  161. 6) In line 259, "Govts: Overview" should be changed to "Governments: Overview".
  162.  
  163. 7) Lines 282-285 should read as follows:
  164. Paint: Shift Click
  165. Grab: Option-Shift Click
  166. Add Item:    Shift Click
  167. Delete Item: Option-Shift Click
  168.  
  169. 8) In line 433, "Select File Name For Scenario" should be changed to "Save Scenario As".
  170.  
  171. 9) Add line 475, as follows:
  172. Quit
  173.  
  174. COUNCIL0.TXT, MENU.TXT, MAPMENU.TXT, & TUTORIAL.TXT
  175.  
  176.     The COUNCIL0.TXT file that is shipped with the Windows version of the game contains a bug.  To fix this bug, simply replace line 289 which reads "s5, s, 3314,3351, Science: I agree." with the line "s5, 3314,3351, Science: I agree.".
  177.  
  178.     The MENU.TXT file contains the descriptions of all the menus that occur in the game.  It is unlikely that your modification set replaces MENU.TXT.  However, if your modification set does replace MENU.TXT, the changes are likely to be very minor.  The easiest way to reconcile these changes with the MacOS version is to find out what is different in the new MENU.TXT file by comparing the files on a line by line basis.  Various differencing tools are available to automate this, such as BBEdit.   When you have determined what has changed, make those changes by hand to a copy of your original MENU.TXT.
  179.  
  180.     The MAPMENU.TXT file contains the descriptions of all the menus that occur in the Map Editor.  Please refer to the MENU.TXT section above for instructions.
  181.  
  182.     The TUTORIAL.TXT file contains dialogs used in Tutorial mode. It is unlikely that your modification set replaces TUTORIAL.TXT. But if it does, we have made two very slight changes which are optional:
  183. In the @IRRIGATE dialog, we have replaced the word "_key" with "key", and in the @DEMOCRATS dialog, we have changed the width from 600 to 500.  Again these changes are completely optional.
  184.  
  185. ART CHANGES
  186.  
  187.     Many modification sets customize the screen art for Civilization II by including replacement art files. These modified Windows art files must be converted before they are used for the MacOS version of Civilization II.  The conversion is necessary because the screen art for the MacOS version is stored in PICT files while on the Windows version the art is stored in GIF files.
  188.  
  189.     To convert Windows art files to the MacOS, use a graphic converter program to convert the GIFs to PICTs.  Be careful to use a converter program that does not alter the color palette in any way - if yours does you will know because the art in your game will look horrible.  One program that I have used sucessfully to do this is clip2gif by Yves Piguet.  I used version 0.7.2 of this free utility with good results.  It is readily available at all the usual ftp sites.
  190.  
  191.     Once you have converted the art files, make sure they are renamed with the .PICT extension.  For example, "CITIES.GIF" & "UNITS.GIF" would be renamed to "CITIES.PICT" & "UNITS.PICT".  Note that capitalization is not important (Units.pict is equivalent to UNITS.PICT.) After converting & renaming all the art files, move them to the folder that contains the original file with the same name & replace the original file.  Thus, "CITIES.PICT" & "UNITS.PICT" should replace the original ones in "Civilization II Files:Support".
  192.  
  193. SOUND CHANGES
  194.  
  195.     Many modification sets customize the sound effects for Civilization II by including replacement sound files. These modified Windows sound files must be converted before they are used for the MacOS version of Civilization II.  The conversion is necessary because the sounds for the MacOS version are stored in AIFF files while on the Windows version the sounds are stored in WAV files.
  196.  
  197.     To convert Windows sound files to the MacOS, use a sound converter program that can convert WAV files to AIFF files.  Modern versions of QuickTime's MoviePlayer application can do this for you by opening the WAV file & then choosing "Export..." in the "File" menu.  Make sure you rename all converted WAV files to AIFF files because Civilization II for the MacOS looks for sound files named with the AIFF extension.  After converting & renaming all the sound files, move them to the "Civilization II Files:Civ2:Sound" folder & replace the original versions.
  198.  
  199. MAC MOD FILES TO PC MOD FILES
  200.  
  201.     Though this document concerns itself with altering modification sets created for Windows version of Civilization II so that they work with the MacOS version, it is certainly possible to create modification sets for the MacOS version of the game and then convert them so that they will work with the Windows version.  Figuring out how to do this is just a matter of reversing the changes described above and is left as an exercise for the reader.   : )  Special care should be taken to add the dialogs that have been removed from the MacOS version's GAME.TXT and to make sure that the PICT art files that are converted to GIFs preserve the color palettes properly.  If enough people become interested in doing this and cannot figure out how to do this properly, perhaps I will write another document to address this issue (but I'd rather not).
  202.  
  203. If you find any problems or errors with this document, please contact me by email.
  204.  
  205. Enjoy & thanks for purchasing Civilization II for the MacOS. 
  206.  
  207. -'deep
  208. Amandeep Jawa • Worker Bee Software • mookie@best.com
  209.